body {
  min-height: 800px;
  border: 8px solid black;
  display: flex;
  /* justify-content: space-evenly; */
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  /* flex-direction: column
  /* flex-direction: row-reverse; */
}

.box {
  height: 200px;
  width: 200px;
  background-color: #0071ff;
  font-size: 40pt;
  display: flex;
  justify-content: center;
  align-items: center;
}

#nav {
  position: relative;
  display: flex;
  border: none;
  border-radius: 10em;
  list-style: none;
  background: #f5f5f5;
  box-shadow: 20px 40px 40px #00000033;
  padding: 10px;
}

#nav li a {
  position: relative;
  padding: 15px 50px;
  border: none;
  font: 500 24px "黑体", sans-serif;
  outline: none;
  display: inline-block;
  text-decoration: none;
  z-index: 3;
  color: rgb(70, 100, 180);
}

.slide1,
.slide2 {
  position: absolute;
  display: inline-block;
  height: 60px;
  border-radius: 10em;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide1 {
  background-color: rgb(170, 190, 255);
  z-index: 2;
}

.slide2 {
  opacity: 0;
  background-color: rgba(170, 190, 255, 0.5);
  z-index: 1;
  box-shadow: 0 0 20px #ffffffaa inset;
}

.squeeze {
  transform: scale(0.9);
}
